package cn.tedu;

import cn.tedu.simple.utils.RabbitMQUtil;

import java.io.IOException;

/**
 * @Author: Miyako
 * @Date: 2024-09-26-11:54
 * @Description:
 */
public class Consumer {
    public static void main(String[] args) throws IOException {
        RabbitMQUtil mqUtil = new RabbitMQUtil("admin","Aq71056r");
        mqUtil.createWorkQueue(true,false,false,null);
        mqUtil.acceptMessage(false);
    }


}
